package org.alex.netShop.beans;

import java.util.List;

import org.alex.netShop.interfaces.Product;
import org.alex.netShop.interfaces.Purchase;
import org.alex.netShop.interfaces.Test;


public class ProductBean implements Product
{
	private String name;
	private double price;
	private List<Purchase> purchase;
	private List<Test> test;
	
	public List<Test> getTest() {
		return test;
	}

	public void setTest(List<Test> test) {
		this.test = test;
	}

	/* (non-Javadoc)
	 * @see org.alex.netShop.beans.Product#getName()
	 */
	public String getName() {
		return name;
	}
	
	/* (non-Javadoc)
	 * @see org.alex.netShop.beans.Product#setName(java.lang.String)
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	
	
	/* (non-Javadoc)
	 * @see org.alex.netShop.beans.Product#getPrice()
	 */
	public double getPrice() {
		return price;
	}

	/* (non-Javadoc)
	 * @see org.alex.netShop.beans.Product#setPrice(double)
	 */
	public void setPrice(double price) {
		this.price = price;
	}

	/* (non-Javadoc)
	 * @see org.alex.netShop.beans.Product#getPurchase()
	 */
	public List<Purchase> getPurchase() {
		return purchase;
	}
	
	/* (non-Javadoc)
	 * @see org.alex.netShop.beans.Product#setPurchase(java.util.List)
	 */
	public void setPurchase(List<Purchase> purchase) {
		this.purchase = purchase;
	}
	
	

}
